﻿@*@model SportsStore.Domain.Entities.Product

@{
    ViewBag.Title = "List";
}

<h2>List</h2>*@

@model SportsStore.WebUI.Models.ProductsListViewModel


@{
    ViewBag.Title = "Products";
}

@foreach (var p in Model.Products)
{
@Html.Partial("ProductSummary",p)
}
<div class="btn-group pull-right">
@Html.PageLinks(Model.PagingInfo,x=>Url.Action("List",new { Page=x,category=Model.CurrentCatgory}))
</div>